#include <window.h>
Window::Window(QWidget* parent, Qt::WFlags fl)
    : QDialog(parent,fl)
{
  //required by Qt4 to initialise the ui
  setupUi(this);

  fillList();
}

Window::~Window()
{
  //any cleanups you want go here
}

void Window::fillList()
{
	for(int i=0;i<20;i++)
	{
		QListWidgetItem * mypItem = new QListWidgetItem(QString::number(i));
		listWidget->addItem(mypItem);
	}

}
